﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace IceDog.Practice.WinForm.File
{
    public partial class FormFile : Form
    {
        public FormFile()
        {
            InitializeComponent();
        }

        private void buttonOpen_Click(object sender, EventArgs e)
        {
            var result = openFileDialog.ShowDialog();
            if (result==DialogResult.OK)
            {
                textBoxFileName.Text = openFileDialog.FileName;
            }
        }
    }
}
